﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlackBBS.Models.Data
{
    [Serializable]
    public class Group : ModelBase
    {
        public string Name { get; set; }
        public string SysopNote { get; set; }
        /// <summary>
        /// Security level 1-100, with 1 being New No Access to 100 being SysOp
        /// </summary>
        public int Level { get; set; }
        public int DailyTimeLimit { get; set; }
        public int MaxTimeDeposit { get; set; }
        public int MaxTimeWithdraw { get; set; }
        public int MaxCredits { get; set; }
        public int MaxDownloads { get; set; }
        public int MaxDownloadsKb { get; set; }
        public int MaxUploads { get; set; }
        public int MailQuota { get; set; }
        public int MaxBulkLists { get; set; }
        public bool AllowLogin { get; set; }
        public bool AllowReadEmail { get; set; }
        public bool AllowSendEmail { get; set; }
        public bool AccessMessageAreas { get; set; }
        public bool AllowReadPost { get; set; }
        public bool AllowWritePost { get; set; }
        public bool AllowPageSysop { get; set; }
        public bool AllowChat { get; set; }
        public bool AllowFileAreas { get; set; }
        public bool AllowDownloads { get; set; }
        public bool AllowUploads { get; set; }
        public bool AllowExtPrograms { get; set; }
        public bool CanAdminSystem { get; set; }
        public bool CanAdminFiles { get; set; }
        public bool CanAdminMessages { get; set; }
        public bool CanAdminUsers { get; set; }
        public bool CanAdminGroups { get; set; }
        public bool CanAdminChat { get; set; }
        public bool CanAdminExtPrograms { get; set; }
        public bool CanAdminMail { get; set; }
        public DateTime Created { get; set; }
    }
}
